package exercicio;

public final class Gerente2 extends Pessoa{
	
	private double salario;
	private double plr;
	
	public void setSalario(double salario){
		
		if(UtilThiago.dinheiroValido(salario)){
			this.salario = salario;
		}
		else
			this.salario = 0;
		
	}
	public double getSalario(){
		
		return this.salario;	
	}
	//--------------------------------------
	public void setPlr(double plr){
		
		if(UtilThiago.dinheiroValido(plr)){
			this.plr = plr;
		}
		else
			this.plr = 0;
	}
	public double getPlr(){
		
		return this.plr;	
	}
	//--------------------------------------
}
